package com.valdemar.android.givemeanswers.server;

import com.google.web.bindery.requestfactory.shared.Locator;


public class QuestionLocator extends Locator<Question, Void>
{

	@Override
	public Question create(Class<? extends Question> clazz)
	{
		return new Question();
	}

	@Override
	public Question find(Class<? extends Question> clazz, Void id)
	{
		return create(clazz);
	}

	@Override
	public Class<Question> getDomainType()
	{
		return Question.class;
	}

	@Override
	public Void getId(Question domainObject)
	{
		return null;
	}

	@Override
	public Class<Void> getIdType()
	{
		return Void.class;
	}

	@Override
	public Object getVersion(Question domainObject)
	{
		return null;
	}

}
